home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / AppsToGo / DTS.Lib / DTS.Lib.headers / ViewHier.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-22  |  1.0 KB  |  51 lines  |  [TEXT/MPS ]

  1. #ifndef __VIEWHIER__
  2. #define __VIEWHIER__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7.  
  8.  
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14.  
  15.  
  16. OSErr            VHInitDocument(FileRecHndl frHndl);
  17.     /*
  18.     **    ¶ Given document handle, present style dialog for document.
  19.     **
  20.     **    This needs to be called by the application to create the
  21.     **    View Hierarchy window. */
  22.  
  23. long            VHFileTypeSize(void);
  24.     /*
  25.     **    ¶ Support function for View Hierarchy window/document.
  26.     */
  27.  
  28. void            VHRootInfo(TreeObjHndl root, char *cptr);
  29.     /*
  30.     **    ¶ Support function for View Hierarchy window/document.
  31.     */
  32.  
  33. void            VHFileRecInfo(TreeObjHndl root, char *cptr);
  34.     /*
  35.     **    ¶ Support function for View Hierarchy window/document.
  36.     **
  37.     **    These functions are in the framework to support the View Hierarchy debugging window.
  38.     **    The sample application AppWannabe has these calls in it.  They can be conditionally
  39.     **    removed by setting the compile variable VH_VERSION to 0.  You should never have to
  40.     **    call them directly, so therefore I didn’t bother documenting them. */
  41.  
  42.  
  43.  
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47.  
  48.  
  49.  
  50. #endif
  51.